package basic;

/**
 * @Description: TODO
 * @Author: wzj
 * @Date: 2019/8/15 17:25
 */
public class MyException extends Exception {
    public MyException() {
        super();
    }

    public MyException(String message) {
        super(message);
    }

    public static void main(String[] args) {
        try {
            throw new MyException("11");
        } catch (MyException e) {
            System.out.println(e.getCause());
        }
    }
}
